package com.sali.b_design_pattern.k_observer_pattern.lesson_02;

import lombok.extern.slf4j.Slf4j;

/**
 * @description:
 * @author: zhang hang
 * @date: 2023/3/26 14:59.
 * @version: 1.0
 */
@Slf4j
public class OrderService extends OrderApplicationService {


    @Override
    protected Long makeOrder(Long userId, Long courseId, Integer num) {
        log.info("下单了...");
        return 100L;
    }
}
